package com.trade.data;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.trade.data.dao.mapper")  // 确保这里的包名是 Mapper 接口所在的包
@EnableScheduling
@EnableAsync
public class DataWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(DataWebApplication.class, args);
    }
}